//
//  UIView+UIGetureRecognizer.h
//  ZhaoCaiMao
//
//  Created by xieyingze on 2017/3/14.
//  Copyright © 2017年 谢英泽. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "AppHeader.h"

typedef void (^kGetureComplete)(void);

typedef void (^kGetureWidthComplete)(CGFloat width);

@interface UIView (UIGetureRecognizer)

@property (nonatomic, copy) kGetureComplete gestureComplete;

/**
 点击手势
 */
- (void)addTapGetureRecognizer;

/**
 向下拖动手势
 */
- (void)addPanGetureBottomRecohnizer;

/**
 向上拖动手势
 */
- (void)addPanGetureTopRecohnizer;

/**
 向左拖动手势
 */
- (void)addPanGetureLeftRecohnizer;

/**
 向右拖动手势
 */
- (void)addPanGetureRightRecohnizer;


- (void)addPanGetureLeftRecohnizer:(kGetureWidthComplete)complete;

@end
